// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import router from './router/Router'
import store from './store/Store'
import axios from './axios/Axios'

import iView from 'iview';
import 'iview/dist/styles/iview.css';

import App from './App'

Vue.use(iView)
Vue.config.productionTip = false

/* eslint-disable no-new */
var appVue = new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})

Vue.prototype.axios = axios.install(appVue);
router.push({ path: '/login' })
